package com.bdqn;

import com.bdqn.service.DemoService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/**
 * DemoServiceTester
 *
 * @since 2021/11/20
 */
@SpringBootTest
public class DemoServiceTester {
     @Resource
     private DemoService demoService;

     @Test
    public void testSayHello(){
        String msg = demoService.sayHello();
        System.out.println("msg："+msg);
         }
 }